package com.abc.abstractfactory;

public class AppDemo {
	public static void main(String[] args) {
		CreateFactory factoryImpl = new CreateFactoryImpl();
		CarInterface bmwCar = factoryImpl.createBmwCar();
		CarInterface jeepCar = factoryImpl.createJeepCar();
		PresonInterface manPreson = factoryImpl.createManPreson();
		PresonInterface wowPreson = factoryImpl.createWowPreson();
		bmwCar.brand();
		bmwCar.carType();
		jeepCar.brand();
		jeepCar.carType();
		manPreson.say();
		wowPreson.say();

	}
}
